package com.bangf.repo;

import com.bangf.domain.FpAllSum;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface SumRepo extends JpaRepository<FpAllSum,Integer> {

    @Query(value =  "SELECT * FROM fp_all_sum " +
                    "limit 1",nativeQuery = true)
    FpAllSum findLimitOne();
}
